package beavers.studio.golfberry.model;

import java.util.Hashtable;
import java.util.Vector;

import net.rim.device.api.util.Persistable;

public class GolfBerryData implements Persistable {
	public GolfBerryData() {
		//Initialize
		m_Time 			= "";
		m_Date			= "";
		m_Scores		= new Vector();
		m_Groups		= new Hashtable();
		m_Location		= "";
		m_Tournament	= 0;
		
		//Set data
		m_Time 		= "06.30";
		m_Date 		= "June 25th, 2011"; 
		m_Location	= "Imperial Golf Club, Karawaci Tangerang";
	}	
	
	//Accessors
	public String getDate()			{	return m_Date;		}
	public String getTeeOff()		{	return m_Time;		}
	public String getLocation() 	{	return m_Location;	}
	
	//Data
	protected String	m_Date;
	protected String	m_Time;
	protected Vector	m_Scores;
	protected Hashtable	m_Groups;
	protected String 	m_Location;
	protected int		m_Tournament;
}
